package com.sto.stoapp.db.constant;

/**
 * 系统功能设置
 * 
 * @author Administrator
 * 
 */
public interface SystemConstant extends StoBaseConstant{
	public static final String KEY = "key";
	public static final String VALUE = "value";
	public static final String TYPE = "type";
	public static final String BACKUP1 = "backup1";

	/**
	 * 系统功能设置表名
	 */
	public static final String SYSTEM_SET_TABLE = "system_set_table";

	/**
	 * 创建系统功能设置表
	 */
	public static final String CREATE_SYSTEM_SET_TABLE = "CREATE TABLE "
			+ " if not exists "
			+ SYSTEM_SET_TABLE
			+ "("
			+ " id TEXT PRIMARY KEY "
			+ ","
			+ KEY
			+ " text"
			+ ","
			+ VALUE
			+ " text"
			+ ","
			+ TYPE
			+ " text"
			+ ","
			+ BACKUP1
			+ " text"
			+ ","
			+STATUS
			+" text "
			+","
			+ VERSION
			+ " text"
			+ ","
			+ BACKUPS_ONE
			+ " char(50)"
			+ ","
			+ BACKUPS_TWO
			+ " char(50)"
			+ ","
			+ BACKUPS_THREE + " char(50)" + ")";
}
